<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <title>一生二   二生三   三生万物</title>
	<meta name="keywords" content="周易八卦 占卜算卦    奇门遁甲">
	<meta name="description" content="~~~~~~~易心里~~~~~~~">
  	<%@ include file="/common/include/title.jsp" %>
	<script src="//lapp.xinli001.com/jsmin/common.min.js" ></script>
	<script src="//lapp.xinli001.com/jsmin/website-addons.min.js" ></script>
	<script src="//lapp.xinli001.com/js/zhuge.sdk.js" ></script>    
	<script>
		var headerAuthUserUrl = "http://www.xinli001.com/ajax/header-auth-user-div.json";
		//设置cooperation cookie
		$(function(){
			setCooperationCookie();
		});

		function getCookie(name)
		{
			var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
			if(arr=document.cookie.match(reg))
				return unescape(arr[2]);
			else
				return null;
		}
		
		function setCooperationCookie(){
			//cookie不存在或channel值不相等都要重新设置cookie
			var channel_name = '';
			var channel_id = '';
			var urldomain = '.xinli001.com';
			var cooperation = getCookie('cooperation');
			var setcookie = false;
			if(cooperation){
				var cookiedata =  JSON.parse(cooperation);
				var old_channel_id = cookiedata.channel_id;
				if(channel_id && old_channel_id != channel_id){
					setcookie = true;
				}else{
					setcookie = false;
				}
			}else{
				setcookie = true;
			}
			if(setcookie == true){
				var url = encodeURI(window.location.href);
				var cookievalue = {"channel_id":channel_id,"url":url};
				var cookiestr = JSON.stringify(cookievalue);
                //渠道名
				if(channel_id){
					var domain = "domain=" + urldomain;
					document.cookie= "cooperation=" + cookiestr + ";path=/;" + domain;
					zhuge.track('测评_PC渠道_访问次数',{'channel_id':channel_id,'channel_name':channel_name});
				}
			}
		}
	</script>
	
	</head>
<body>
	<jsp:include page="/header.htm"></jsp:include>
	
	<div class="infos-wrap">
		<div class="fish-left main-left">
			<div class="list_rmd">
				<div class="title bor_bot">${requestScope.column.name}人气推荐</div>
				<div class="lists bor_top fixed">
					<ul>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/548"> <img
								src="http://ossimg.xinli001.com/20170313/f6628cfe2e5eedb7567b852bc7334448.jpg!180x120"
								hover="true" alt="你的初恋是什么颜色？" width="180" height="120">
								<p>你的初恋是什么颜色？</p>
						</a></li>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/57"> <img
								src="http://image.xinli001.com/20160907/06331132zonf42y1akxhp9.jpg!180x120"
								hover="true" alt="桃花运测试：哪种颜色增加你的桃花运？" width="180" height="120">
								<p>桃花运测试：哪种颜色增加你的桃花运？</p>
						</a></li>
						<li class="fl payTest"><a
							href="http://www.xinli001.com/ceshi/186"> <img
								src="http://ossimg.xinli001.com/20170303/eefe9ff5c994502af90b5bbf6127ea50.jpg!180x120"
								hover="true" alt="什么样的异性和你最登对？" width="180" height="120">
								<p>什么样的异性和你最登对？</p>
						</a></li>
					</ul>
				</div>
			</div>
			<!--推荐-->
			<h2 class="list_title">${requestScope.column.name}</h2>
			<div class="list_show">
				<dl>
					<c:forEach items="${requestScope.itemsList}" var="list">
						<dd class="fixed">
							<p class="pbox fl">
								<a href="${rootPath }/question.htm?id=${list.id}"> <img
									class="lazyload" src="${list.imgPath }" alt="${list.name }"
									hover="true" width="120" height="80">
								</a>
							</p>
							<p class="linfo fl">
								<a href="${rootPath }/question.htm?id=${list.id}">${list.name }</a> <br>${list.content }<br>
								<span class="total"><span class="icons" title="测试人数"></span>${list.testedNum }人测试过</span>
							</p>
						</dd>
					</c:forEach>
				</dl>
			</div>
			<!--列表-->
			<div class="pagebar" id="pages">
			
			<c:choose>
					<c:when test="${requestScope.pageInfoUtil.totalPage > 0 && requestScope.pageInfoUtil.totalPage < 5}">
						<c:forEach begin="1" end="${requestScope.pageInfoUtil.totalPage}" step="1" var="page">
							<c:choose>
								<c:when test="${requestScope.pageInfoUtil.currentPage == page}">
									<span>${page}</span>
								</c:when>
								<c:otherwise>
									|<a href="${rootPath }/${requestScope.column.url}.htm?page=${page}" target="_self"><span>${page}</span></a>
								</c:otherwise>
							</c:choose>
						</c:forEach>
					</c:when>
					
					<c:otherwise>
							<c:forEach begin="1" end="5" step="1" var="page">
								<c:choose>
									<c:when test="${requestScope.pageInfoUtil.currentPage == page}">
										<span>${page}</span>
									</c:when>
									<c:otherwise>
										|<a href="${rootPath }/${requestScope.column.url}.htm?page=${page}" target="_self"><span>${page}</span></a>
									</c:otherwise>
								</c:choose>
							</c:forEach>
							<span>...</span>
							<c:if test="${requestScope.pageInfoUtil.currentPage > 5 && requestScope.pageInfoUtil.currentPage < requestScope.pageInfoUtil.totalPage-3 }">
								<span>${requestScope.pageInfoUtil.currentPage }</span>
								<span>...</span>
							</c:if>
							
							<c:forEach begin="${requestScope.pageInfoUtil.totalPage-3}" end="${requestScope.pageInfoUtil.totalPage}" step="1" var="page">
								<c:choose>
									<c:when test="${requestScope.pageInfoUtil.currentPage == page}">
										<span>${page}</span>
									</c:when>
									<c:otherwise>
										|<a href="${rootPath }/${requestScope.column.url}.htm?page=${page}" target="_self"><span>${page}</span></a>
									</c:otherwise>
								</c:choose>
							</c:forEach>
					</c:otherwise> 
				</c:choose>
				|<a href="${rootPath }/${requestScope.column.url}.htm?page=${requestScope.pageInfoUtil.nextPage}" class="next" target="_self">下一页</a>
			</div>
		</div>
		
		<!--left-->
<div class="fish-left main-right">
		<div class="multi_ads fixed">
	<div class="mt"><strong>编辑推荐<span class="mq">：</span><span class="ms">······ </span></strong></div>
    <dl>
    	        <dd>
        	<a href="http://www.xinli001.com/info/100360756?from=cheshi" title="心探社" target="_blank">
                <img src="http://ossimg.xinli001.com/20161219/22c35b0aef597efe978b7a084dcf3030.jpg" hover="true" title="心探社" alt="心探社" width="135" height="135">        	
            </a>
        </dd>
        
               <dd>
        	<a href="http://www.xinli001.com/ceshi/99897526?from=2017" title="心理需求测评" target="_blank">
                <img src="http://image.xinli001.com/20160805/030954q4tnzb0jb0nyq06s.jpg" hover="true" title="心理需求测评" alt="心理需求测评" width="135" height="135">        	
            </a>
        </dd>
        
                <dt>
        	<a href="http://www.xinli001.com/ceshi/99897572?from=ceshi" title="抑郁症测试" target="_blank">
                <img src="http://ossimg.xinli001.com/20161024/16f19e49dab19387649e80eae35df090.jpg" hover="true" title="抑郁症测试" alt="抑郁症测试" width="280" height="135">
            </a>
        </dt>
        <br class="clear">
    </dl>
</div>
	<!-- 1-->
<div class="test_rmd_list fixed">
	<div class="st rbor"><span class="fb">${requestScope.column.name}推荐 ：</span><span class="more"><a href="/ceshi">更多»</a></span></div>
				<dl>
					<dd>
						<p class="pbox fl">
							<a href="http://www.xinli001.com/ceshi/548"> <img
								src="http://ossimg.xinli001.com/20170313/f6628cfe2e5eedb7567b852bc7334448.jpg!90x60"
								hover="true" alt="你的初恋是什么颜色？" width="90" height="60">
							</a>
						</p>
						<p class="tinfo fl">
							<a href="http://www.xinli001.com/ceshi/548">你的初恋是什么颜色？</a> <span
								class="total"><span class="icons" title="测试人数"></span>42805人测试过</span>
						</p>
					</dd>

				</dl>
			</div>
	<div class="tags fixed">
	<div class="st rbor"><span class="fb">热门标签 ：</span></div>
    <ul>
    	    	        <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E6%80%A7%E6%A0%BC%E6%B5%8B%E8%AF%95">性格测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E7%88%B1%E6%83%85%E6%B5%8B%E8%AF%95">${requestScope.column.name}</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E8%83%BD%E5%8A%9B%E6%B5%8B%E8%AF%95">能力测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E5%BF%83%E7%90%86%E6%B5%8B%E8%AF%95">心理测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E8%B6%A3%E5%91%B3%E6%B5%8B%E8%AF%95">趣味测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E4%B8%93%E4%B8%9A%E6%B5%8B%E8%AF%95">专业测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E5%A7%BB%E7%BC%98%E6%B5%8B%E8%AF%95">姻缘测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E6%B5%8B%E8%AF%95%E7%88%B1%E6%83%85">测试爱情</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E8%81%8C%E4%B8%9A%E6%B5%8B%E8%AF%95">职业测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E9%A2%84%E8%A8%80%E6%B5%8B%E8%AF%95">预言测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E4%BC%9A%E5%91%98%E6%B5%8B%E8%AF%95">会员测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E7%88%B1%E6%83%85">爱情</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E7%BF%BB%E8%AF%91%E6%B5%8B%E8%AF%95">翻译测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E4%B8%93%E4%B8%9A%E9%87%8F%E8%A1%A8">专业量表</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E6%BD%9C%E6%84%8F%E8%AF%86%E6%B5%8B%E8%AF%95">潜意识测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E5%A4%96%E5%9B%BD%E6%B5%8B%E8%AF%95">外国测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E6%80%A7%E6%A0%BC">性格</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E8%81%8C%E5%9C%BA%E6%B5%8B%E8%AF%95">职场测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E5%81%A5%E5%BA%B7%E6%B5%8B%E8%AF%95">健康测试</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E5%BF%83%E7%90%86%E5%81%A5%E5%BA%B7">心理健康</a></li>
                <li class="fl"><a href="http://www.xinli001.com/ceshi/tag?name=%E6%81%8B%E7%88%B1">恋爱</a></li>
            </ul>
</div>
    <!--标签-->
</div>
<!--right-->
</div>
	
	
	<%@ include file="/common/include/footer.jsp" %>
</body>
</html>